include("shared.lua");
AddCSLuaFile("cl_init.lua");
AddCSLuaFile("shared.lua");
-- Setting up all the different properties of our melon.
ENT.Move = false;
ENT.Delay = 0.05;
ENT.Healthlol = 600;
ENT.FiringRange = 150;
ENT.NoMoveRange = 50;
ENT.MinRange = 0;
ENT.DeathRadius = 600;
ENT.DeathMagnitude = 250;
ENT.MovingForce = 150;
ENT.MelonModel = "models/Combine_Helicopter/helicopter_bomb01.mdl";

-- Now we tell the base class to set up the melon. Pay attention - the variables must be defined BEFORE calling Setup().
function ENT:Initialize()
	self:Setup();
	self.Entity:SetMaterial(nil);
	local phys = self.Entity:GetPhysicsObject()
	if (phys:IsValid()) then
		phys:Wake();
		phys:SetMass(2500);
	end
end


function jStopLaserSound(ent)
	ent:StopSound("Airboat_fan_fullthrottle");
end

--What to do when we've found a target, and we've got the goahead to start attacking
function ENT:Attack ()
self.Healthlol = 0;
end

--Any other code you want to tag on to the end of the think function.
function ENT:OtherThoughts()
end